package j2eerestcomponenthasservice;

import j2eerestcomponenthasservice.J2eeRestComponentHasServiceMatch;
import j2eerestcomponenthasservice.J2eeRestComponentHasServiceMatcher;
import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;

/**
 * A pattern-specific matcher factory that can instantiate J2eeRestComponentHasServiceMatcher in a type-safe way.
 * 
 * @see J2eeRestComponentHasServiceMatcher
 * @see J2eeRestComponentHasServiceMatch
 * 
 */
public class J2eeRestComponentHasServiceMatcherFactory extends BaseGeneratedMatcherFactory<J2eeRestComponentHasServiceMatch,J2eeRestComponentHasServiceMatcher> {
  @Override
  protected J2eeRestComponentHasServiceMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new J2eeRestComponentHasServiceMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "J2eeRestComponentHasService";
    
  }
}
